package com.xxx.pojo;

/**
 * @version v1.0
 * @Description:
 * @Author zhanzhongxin
 * @Date 2021/8/12 13:53
 * @Copyright 博为峰
 */
public class OrderDetail {
    private int id;
    private int orderId;
    private int itemsId;
    private Items items;

    public OrderDetail() {
    }

    public OrderDetail(int id, int orderId, int itemsId) {
        this.id = id;
        this.orderId = orderId;
        this.itemsId = itemsId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public int getItemsId() {
        return itemsId;
    }

    public void setItemsId(int itemsId) {
        this.itemsId = itemsId;
    }

    @Override
    public String toString() {
        return "OrderDetail{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", itemsId=" + itemsId +
                ", items=" + items +
                '}';
    }
}
